#include <stdio.h>
#include <string.h>
#include <windows.h>
 
int main()
{
    char arr1[] = "welcome to my world!!!";
    char arr2[] = "######################";
    int left = 0;
    int right = strlen(arr1) - 1;
    do
    {
        arr2[left] = arr1[left];
        arr2[right] = arr1[right];
        printf("%s\n", arr2);
        Sleep(1000);
        system("cls");
        left++;
        right--;
    } while (left <= right);
    return 0;
}